package com.sh.healthtv.net.entity;

import java.util.List;

/**
 * Created by 675 on 16-5-25 18:14.
 * 类说明
 * {
 * "ret": "0",
 * "desc": "成功",
 * "list": []
 * }
 */
public class ListResult<T> extends BaseBean {
    /**
     *  返回状态（Integer）0：成功  其他：失败。
     */
    private String ret;
    /**
     *  错误信息
     */
    private String desc;
    /**
     * 数据
     */
    private List<T> list;

    public String getRet() {
        return ret;
    }

    public void setRet(String ret) {
        this.ret = ret;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "ListResult{" +
                "ret='" + ret + '\'' +
                ", desc='" + desc + '\'' +
                ", list=" + list +
                '}';
    }
}
